<?php namespace Home\Controller; 
use Hdphp\Controller\Controller;
use \Common\Model\Indent;
//前台订单已提交成功控制器
class OrderSuccessController extends Controller{
    
    public function index(){
		//获取订单信息
		$Inumber = $_SESSION['user']['inumber'];
		//查询订单表
		$indentModel = new Indent;
		$indentData = $indentModel->where('inumber',$Inumber)->find();
		$indentData['time'] = date('Y/m/d H:i:s',$indentData['time']);	
		
		View::with('indentData',$indentData);
    	View::make();
    }	
}
